package com.feilx.changgou.goods.service.impl;

import com.changgou.bean.PageVo;
import com.changgou.bean.Query;
import com.changgou.bean.QueryCondition;
import com.changgou.pojo.TbSpecEntity;
import com.feilx.changgou.goods.dao.TbSpecDao;
import com.feilx.changgou.goods.service.TbSpecService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;



@Service("tbSpecService")
public class TbSpecServiceImpl extends ServiceImpl<TbSpecDao, TbSpecEntity> implements TbSpecService {

    @Override
    public PageVo queryPage(QueryCondition params) {
        IPage<TbSpecEntity> page = this.page(
                new Query<TbSpecEntity>().getPage(params),
                new QueryWrapper<TbSpecEntity>()
        );

        return new PageVo(page);
    }

}
